#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL;
using Cephei.QL.Termstructures;
using Cephei.QL.Times;
namespace Cephei.QL.Experimental.Credit
{
    /// <summary> 
	/// ! Default risky fixed bond \ingroup credit
	/// </summary>
    [Guid ("95C43284-C546-4fb6-AB6F-4E67F97E0741"),ComVisible(true)]
	public interface IRiskyFixedBond : Cephei.QL.Experimental.Credit.IRiskyBond
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Cephei.QL.ICashFlow> Cashflows {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime EffectiveDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Cephei.QL.ICashFlow> InterestFlows {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime MaturityDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Notional(Microsoft.FSharp.Core.FSharpOption<DateTime> date);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Cephei.QL.ICashFlow> NotionalFlows {get;}
    }   

    /// <summary> 
	/// ! Default risky fixed bond \ingroup credit Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IRiskyFixedBond_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// ------------------------------------------------------------------------
		/// </summary>
	    IRiskyFixedBond Create (String name, Cephei.QL.ICurrency ccy, Double recoveryRate, Cephei.QL.Termstructures.IDefaultProbabilityTermStructure defaultTS, Cephei.QL.Times.ISchedule schedule, Double rate, Cephei.QL.Times.IDayCounter dayCounter, QL.Times.BusinessDayConventionEnum paymentConvention, Cephei.Core.IVector<Double> notionals, Cephei.QL.Termstructures.IYieldTermStructure yieldTS, Cephei.QL.IPricingEngine QL_Pricer);
    }
}

